/**   
* @Title: OrderByProvinceController.java 
* @Package com.lvmama.rhino.web 
* @Description: TODO
* @author Administrator
* @date 2016年9月26日 上午11:56:48 
* @version V1.0   
*/
package com.lvmama.rhino.web;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lvmama.rhino.entity.OrderCount;
import com.lvmama.rhino.service.OrderByProvinceService;

/** 
 * @ClassName: OrderByProvinceController 
 * @Description: TODO
 * @author Administrator
 * @date 2016年9月26日 上午11:56:48  
 */
@RequestMapping("orderCount")
@Controller
public class OrderByProvinceController {

	@Autowired
	private OrderByProvinceService orderByProvinceService;
	
	@RequestMapping("ajaxData")
	@ResponseBody
	public List<OrderCount> queryOrderByProvince(){
		return orderByProvinceService.queryOrderByProvince();
	}
}
